<template>
  <div >
    <normal-team-game v-if="!isGulin"/>
    <gulin-game-detail v-else/>
  </div>
</template>

<script>
  import TeamGameMixin from './mixins/TeamGameMixin'
  import NormalTeamGame from './NormalTeamGame'
  import GulinGameDetail from './GulinGameDetail'

  export default {
    name: 'TeamGameDetail',
    components: {
      GulinGameDetail,
      NormalTeamGame
    },
    data () {
      const { gameName = '' } = this.$route.query
      return {
        isGulin: gameName.includes('股林大会')
      }
    }
  }

</script>

